export const orderManageByGet = () => ({
  url: '/api/v1/order/list',
  method: 'get'
})

export const orderByPost = () => ({
  url: '/api/v1/order/add',
  method: 'post'
})
// 订单管理原来的续费部分的列表数据显示
export const orderKeywordByGet = () => ({
  url: '/api/v1/order/word/list',
  method: 'get'
})

// 订单管理新的的续费部分的列表
export const orderKeywordByGetitem = () => ({
  url: '/api/v1/order/mainWord/list',
  method: 'get'
})

export const orderScheduleByGet = () => ({
  url: '/api/v1/order/schedule',
  method: 'get'
})

export const orderScheduleTimeByGet = () => ({
  url: '/api/v1/order/schedule/timespan/list',
  method: 'get'
})

export const orderScheduleTimeByPost = () => ({
  url: '/api/v1/order/schedule/timespan/update',
  method: 'post'
})

export const orderScheduleStatusByPost = () => ({
  url: '/api/v1/order/schedule/status/update',
  method: 'post'
})

export const orderWordByPost = () => ({
  url: '/api/v1/order/word/name/update',
  method: 'post'
})

export const orderWordByBatch = () => ({
  url: '/api/v1/order/schedule/status/batch/update',
  method: 'post'
})

export const ideaByPost = () => ({
  url: '/api/v1/order/schedule/status/batch/update',
  method: 'post'
})
// 退全部
export const refundAllOrderByPost = () => ({
  url: '/api/v1/order/refund/all',
  method: 'post'
})
// 退剩余
export const refundPartOrderByPost = () => ({
  url: '/api/v1/order/refund/part',
  method: 'post'
})

export const industryByGet = () => ({
  url: '/api/v1/industry/list',
  method: 'get'
})

export const validFreeWordByPost = () => ({
  url: '/api/v1/order/freeWord/add/validate',
  method: 'post'
})

export const getOrderRenewalByGet = () => ({
  url: '/api/v1/order/recharge/priceAsk',
  method: 'get'
})

export const calRenewalPriceByPost = () => ({
  url: '/api/v1/order/recharge/assessmentPrice',
  method: 'post'
})

export const oldOrderCustomerByGet = () => ({
  url: '/api/v1/order/old/customer',
  method: 'get'
})
// 获取店铺链接中使用的手机号码/api/v1/getCustomerPhone
export const getShopUrl = () => ({
  url: '/api/v1/getCustomerPhone',
  method: 'get'
})
// 获取百姓店铺链接中使用的手机号码/api/v1/getBxShopCustomerPhone
export const getShopUrls = () => ({
  url: '/api/v1/getBxShopCustomerPhone',
  method: 'get'
})
// 获取所有产品
export const getProductList = () => ({
  url: '/api/v1/getProductList',
  method: 'get'
})
// 根据订单Id修改时间段
export const updateTimeRange = () => ({
  url: '/api/v1/updateTimeRange',
  method: 'post'
})

// 订单添加链接
export const setLinkUrl = () => ({
  url: '/api/v1/order/setLinkUrl',
  method: 'post'
})
// 设置订单到期时间
export const setOrderTime = () => ({
  url: '/api/v1/order/setTime',
  method: 'post'
})

// 获取优化资料
export const getOrderCompany = () => ({
  url: '/api/v1/order/getOrderCompany',
  method: 'get'
})

// 提交优化资料
export const addOrUpdateOrderCompany = () => ({
  url: '/api/v1/order/addOrUpdateOrderCompany',
  method: 'post'
})
